toHexRGB

open fun toHexRGB(): String

Returns a string representation for this color in the #RGB hex format.

Throws

when this color is invalid